#ifndef MOCKBOARDPARSER_H
#define MOCKBOARDPARSER_H

#include "boardparsers/boardparser.h"

namespace MockObjects
{
	class MockBoardParser : public Wishmaster::BoardParser
	{
	public:
		MOCK_METHOD3(getThreadList, QList<Wishmaster::ThreadInfo>(const QString& chanName, const QString& boardId, const QByteArray& input));
		MOCK_METHOD2(getPosts, QList<Wishmaster::PostInfo>(const Wishmaster::ThreadId& threadId, const QByteArray& input));
		MOCK_METHOD2(getPostID, Wishmaster::PostId(const QString& link, const Wishmaster::ThreadId& threadId));
        MOCK_METHOD1(setTimestampFormat, void(const QString& format));
		MOCK_METHOD0(id, QString());
		MOCK_METHOD1(clone, Wishmaster::BoardParser*(const QString& boardname));
		MOCK_METHOD2(findLinks, QList<Wishmaster::PostId>(const Wishmaster::ThreadId& threadId, const QString& posttext));
	};
}

#endif // MOCKBOARDPARSER_H
